import Vue from "vue";


//去除逗号
Vue.prototype.$getTitleText = function getTitleText(str) {
  if (str) {
    if (str.indexOf(",") > -1) {
      return str.split(",").join("/");
    } else {
      return str;
    }
  }
}